import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {OrderManageComponent} from './order-manage/order-manage.component';
import {OrderStatisticsComponent} from './order-statistics/order-statistics.component';


const routes: Routes = [
  {path: '', redirectTo: 'b2bOrderManage', pathMatch: 'full'},
  {path: 'b2bOrderManage', component: OrderManageComponent, data: {breadcrumb: '订单列表'}},
  {path: 'b2bOrderStatistics', component: OrderStatisticsComponent, data: {breadcrumb: '订单统计'}},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class B2bRoutingModule {
}
